package com.kuzlak.cms.module.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kuzlak.cms.module.sys.entity.SysMenu;

import java.util.List;
import java.util.Map;

/**
* @author hesenjan
* @description 针对表【sys_menu】的数据库操作Service
* @createDate 2024-11-30 23:46:05
*/
public interface SysMenuService extends IService<SysMenu> {
    List<Map<String, Object>> findByDataList(long userId, String name);

    List<Map<String, Object>> findByDataAdminList(long userId, String name);

    List<Map<String, Object>> findByDataAdminMenuList(Long userId);

    List<Map<String, Object>> findByDataMenuList(Long userId);

    List<String> findByDataAdminKeyList();

    List<String> findByDataKeyList(Long userId);

    List<String> findByDataKeyPerList(Long userId);

    List<String> findByDataPerKeyAdminList();

    boolean deleteById(long id);

    List<Map<String, Object>> findByDataAdminKeyDataList();

    List<Map<String, Object>> findByDataKeyDataList(Long userId);
}
